<?php
return array(
	//'配置项'=>'配置值'
    'DB_TYPE'               =>  'mysql',     // 数据库类型
    'DB_HOST'               =>  'localhost', // 服务器地址
    //'DB_NAME'               =>  'tp3_demo2',          // 数据库名
    'DB_NAME'               =>  'chuangyi',          // 数据库名
    'DB_USER'               =>  'root',      // 用户名
    'DB_PWD'                =>  'root',          // 密码
    'DB_PREFIX' => 'ar_', // 数据库表前缀
    'DB_CHARSET'=> 'utf8', // 字符集
    'URL_MODEL' => 2,      //去掉index.php

    'NEWUPLOAD'    =>array(
            'maxSize'       => 0,
            'exts'          => array('jpg','png','jpeg','gif'),
            'mimes'         => array('image/png','image/jpg','image/jpeg','image/gif'),
            'replace'       => false, // 同名文件覆盖保存
            'rootPath'      => './',
            'savePath'      => 'Public/Uploads/images/',
            'autoSub'       => true,
            'subName'       => array('date','Ymd'),
            'saveName'      => urlencode(date('Ymd').rand(10000,99999))
    )
);